import React from 'react'
import { Link } from '../../ui-components'
import { Button } from 'sq-ui';
import style from './style'
import util from '../../util'
import cx from 'classnames'

export default () => (
   <div className={cx(style.root, {
     [style.u]: window.location.pathname.indexOf('/u/' == 0),
     [style.app]: window.location.pathname === '/',
     [style.onboarding]: window.location.pathname.indexOf('/onboarding-flows/staff') == 0
   })}>
    <div>
      <p>对不起，链接失效或已过期</p>
      <Button label="返回登录" blue to="/u"/>
    </div>
	</div>
)
